package com.ethink.order.service;

import com.ethink.order.api.info.TocSaleReturnImportLogDetailInfo;
import com.ethink.order.api.request.TocSaleReturnImportLogDetailAddRequest;
import com.ethink.order.api.request.TocSaleReturnImportLogResultSettleRequest;

import java.util.List;
import java.util.Map;

/**
 * TOC销售退单导入日志明细 Service接口
 *
 * @author default
 * @date 2022-12-16
 */
public interface TocSaleReturnImportLogDetailService {
    void batchInsert(List<TocSaleReturnImportLogDetailAddRequest> item, Long id, Map<String, TocSaleReturnImportLogDetailInfo> detailInfoMap);

    Integer insert(TocSaleReturnImportLogDetailAddRequest request,Long logId);

    List<TocSaleReturnImportLogDetailInfo> queryDetailByShopOrderNoList(List<String> shopOrderNoList);

    List<TocSaleReturnImportLogDetailInfo> queryDetailListByLogId(Long id);

    void settleOrder(TocSaleReturnImportLogResultSettleRequest settleRequest);
}